package cn.webrx;

public class For2 {
    public static void main(String[] args) {
        //1 2 3 4 5 6
        for (int i = 1; i < 7; i++) {
            System.out.printf("%02d ", i);
        }
        System.out.println();
        //10 9 8 7 6
        for (int i = 10; i > 5; i--) {
            System.out.printf("%02d%n", i);
        }
        
        for (int i = 100; i <= 600; ) {
            System.out.printf("%d ", i);
            i += 100;
        }
    }
}
